using System;
using Com.Core.Module.Entities;
using Com.Domain;
using SqlSugar;

namespace Com.Modules.AdminModule.Entities;

[SugarTable("S_Admin", TableDescription = "系统管理员表")]
public class AdminEntity: DomainEntity
{
    public string Account{ get; set; } = string.Empty;                      // 登录账号
    public string Password{ get; set; } = string.Empty;                     // 登录密码
    public string Nickname{ get; set; } = string.Empty;                     // 昵称
    public int IsSuper{ get; set; }                                         // 是否超级管理员
    public string Token{ get; set; } = string.Empty;                        // 令牌
    public DateTime TokenExpireTime{ get; set; }                            // 令牌过期时间
}
